package com.example.filecollectionsystemdemo1.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * (Files)表实体类
 *
 * @author makejava
 * @since 2024-10-08 17:01:35
 */
@TableName("files")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Files implements Serializable {

    @TableId(value = "FileID", type = IdType.AUTO)
    private Integer fileid;

    // 中文注释
    // 文件名
    private String filename;

    // 文件路径
    private String filepath;

    // 文件大小
    private Integer filesize;

    // 上传者ID
    private Integer uploaderid;

    // 上传时间
    private Date uploaddate;

    // 文件夹ID
    private Integer folderid;

}

